package cn.mcartoon.pojo;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/***
*   章节购买记录表
*/
@Data
public class MmChapterBuyRecord implements Serializable {
    //主键ID
    private Long recordId;
    //章节表主键ID
    private Long chapterId;
    //动漫表主键ID
    private Long cartoonId;
    //购买者用户ID
    private Long userId;
    //支付次元币金额
    private BigDecimal payMoney;
    //创建人
    private Long createdUserId;
    //修改人
    private Long updatedUserId;
    //是否删除(0:否,1:是)
    private Integer isDelete;
    //创建时间
    private Date creatdTime;
    //修改时间
    private Date updatedTime;
    //get set 方法
    public void setRecordId (Long  recordId){
        this.recordId=recordId;
    }
    public  Long getRecordId(){
        return this.recordId;
    }
    public void setChapterId (Long  chapterId){
        this.chapterId=chapterId;
    }
    public  Long getChapterId(){
        return this.chapterId;
    }
    public void setCartoonId (Long  cartoonId){
        this.cartoonId=cartoonId;
    }
    public  Long getCartoonId(){
        return this.cartoonId;
    }
    public void setUserId (Long  userId){
        this.userId=userId;
    }
    public  Long getUserId(){
        return this.userId;
    }
    public void setPayMoney (BigDecimal  payMoney){
        this.payMoney=payMoney;
    }
    public  BigDecimal getPayMoney(){
        return this.payMoney;
    }
    public void setCreatedUserId (Long  createdUserId){
        this.createdUserId=createdUserId;
    }
    public  Long getCreatedUserId(){
        return this.createdUserId;
    }
    public void setUpdatedUserId (Long  updatedUserId){
        this.updatedUserId=updatedUserId;
    }
    public  Long getUpdatedUserId(){
        return this.updatedUserId;
    }
    public void setIsDelete (Integer  isDelete){
        this.isDelete=isDelete;
    }
    public  Integer getIsDelete(){
        return this.isDelete;
    }
    public void setCreatdTime (Date  creatdTime){
        this.creatdTime=creatdTime;
    }
    public  Date getCreatdTime(){
        return this.creatdTime;
    }
    public void setUpdatedTime (Date  updatedTime){
        this.updatedTime=updatedTime;
    }
    public  Date getUpdatedTime(){
        return this.updatedTime;
    }
}
